package com.promise.jokerdream.response.pc

import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

// 问鼎天下回包
@Serializable
data class QueryTBattleResponse(
    override val result: Int,
    override val msg: String = "",
    val tb: TBattleTbModel = TBattleTbModel(),
    val rb: TBattleRbModel = TBattleRbModel(),
    val cb: TBattleRbModel = TBattleRbModel(),
): BasePCResponse {
    override fun getDescription(): String {
        return msg
    }
}

// 当前帮派
@Serializable
data class TBattleTbModel(
    // 帮派排名
    @SerialName("faction_rank")
    val factionRank: Int = 0,
    // 奖励
    @SerialName("release_reward")
    val releaseReward: String = "",
)

@Serializable
data class TBattleRbModel(
    // 是否可以助威，0为不可以，1为可以
    @SerialName("can_cheer")
    val canCheer: Int = 0,
    // 助威帮派的id
    @SerialName("cheered_faction_id")
    val cheeredFactionId: Int = 0,
    // 助威帮派的名字
    @SerialName("cheered_faction_name")
    val cheeredFactionName: String = "",
)